package com.mf.service;

import com.mf.entity.bo.DataDictionaryBo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mf.entity.request.dataDictionary.DataDictionaryRequest;
import com.mf.entity.vo.DataDictionaryVo;

import java.util.List;

/**
 * 服务类
 *
 * @author mf
 * @since 2024-07-19
 */
public interface IDataDictionaryService extends IService<DataDictionaryBo> {

    Integer add(DataDictionaryRequest dataDictionaryRequest);

    DataDictionaryVo findById(Integer id);

    Integer edit(DataDictionaryRequest dataDictionaryRequest);

    List<DataDictionaryVo> findByCode(String code);
}
